
package unrealiableBroadcast;

import java.io.Serializable;

import se.kth.ict.id2203.flp2p.Flp2pDeliver;
import se.sics.kompics.Event;
import se.sics.kompics.address.Address;

/**
 * The <code>unBroadcast</code> event class.
 * 
 * @author Federico Piccinini <fpic@kth.se>
 */
public class UnDeliver extends Event implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 623927845750225743L;
	private Address src;
	Flp2pDeliver msg;

	/**
	 * Instantiate a new unBroadcast event
	 * 
	 * @param message
	 */
	public UnDeliver(Address src, Flp2pDeliver msg) {
		super();
		this.msg = msg;
	}

	public Address getSrc() {
		return src;
	}
	
	public Flp2pDeliver getMessage () {
		return msg;
	}

}
